A Novel Approach for Test Case Generation Using Activity Diagram

نویسندگان

  • Pragyan Nanda
  • Baikuntha Narayan Biswal
  • Durga Prassad Mohapatra
چکیده

Testing is an important part of quality assurance in the software development life cycle. As the complexity and size of software grow, more and more time and man power are required for testing the software. Manual testing is very much labor-intensive and error-prone. So there is a pressing need to develop the automatic testing strategy. Test case generation is the most important part of the testing efforts. Test cases can be designed based on source code but this makes test case generation difficult for testing at cluster level. Therefore, it is required to generate test cases automatically from the design documents. Also this approach holds an added advantage of obtaining test cases early in the software development life cycle (SDLC), there by making test planning more effective. Our approach first constructs the activity diagram for the given problem and then randomly generates initial test cases, for a program under testing (PUT). Then, by running the program with the generated test cases, we can get the corresponding program execution traces (PET). Next, we compare these traces with the constructed activity diagram according to the specific coverage criteria. We use a rule based frame work to generate a reduced test case set, which meets the test adequacy criteria. Advantage of our approach is that it achieves maximum path coverage.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Novel Technique for Generation and Optimization of Test Cases Using Use Case, Sequence, Activity Diagram and Genetic Algorithm

This paper presents a novel approach for generation of test cases from UML design diagrams. In this new generation scheme, we have considered use case diagram, activity diagram and sequence diagram. Our approach consists of converting the use case diagram into use case diagram graph (UDG), activity diagram into activity diagram graph (ADG) and sequence diagram into sequence diagram graph (SDG)....

متن کامل

Automated Test Case Generation Using Uml Use Case Diagram and Activity Diagram

Testing plays a major role for improving the quality of a software product. Due to its iterative and incremental nature it needs special attention. Test case generation is one of the complex activities carried out during testing phase. Generating test cases in the early phases of development life cycle works like a catalyst for model based testing and at the same time efficiently manages time a...

متن کامل

A Novel Approach for Optimized Test Case Generation Using Activity and Collaboration Diagram

Testing is the process of building confidence of the programmer that shows, the software does what it is intended to do, which in turn improves the reliability of the software. And automation of software testing process helps in achieving it with reduced cost and time. Test case generation is one part of the testing process with description of a test and independent of designed system, intended...

متن کامل

A Novel Approach for Automated Test Path Generation using TABU Search Algorithm

Software testing is the last phase of the development cycle. The important role in software development is software Testing. In today’s software industry, the design of software tests is mostly based on the tester’s expertise, while test automation tools are limited to execution of preplanned tests only. Testing effort can be classified into three parts, they are test case generation, test exec...

متن کامل

A Novel Approach to Generate Test Cases from UML Activity Diagrams

Model-based test case generation is gaining acceptance to the software practitioners. Advantages of this are the early detection of faults, reducing software development time etc. In recent times, researchers have considered different UML diagrams for generating test cases. Few work on the test case generation using activity diagrams is reported in literatures. However, the existing work consid...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009